package com.ssy.service;

import com.ssy.common.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * UserService
 *
 * @author ssy
 * @date 2020/11/12
 **/
public interface UserService {

    //用户登录
    Result login(String userName, String password);

    //分页查询
    Result queryPage(Map<String, Object> param, String page, String limit);

    Result addUser(String uname, int utype);

    Result deteleUser(String[] ids);

    Result deleteOneUser(String id);

    Result restUserPassword(String id);

    Result updateUser(String uname, int uId, int utype);

    Result updatePwd(String password, String newPassword, int getuId);
}
